|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.hci.HCIModelAdapter
com.highdeal.admin.hci.RoleModel
public class RoleModel
This Java class represents a role that can be assigned to the SAP CC users;
It contains a set of authorizations to allow or not the execution of certain operations by the connected SAP CC system.
Predefined roles are configured in the SAP CC system.
Roles are customized levels of combined authorizations that grant the SAP CC users with specific
access and control rights within the system. An SAP CC user can have several roles.
Each operation API requires an authorization that must belong to the SAP CC user specified as message originator of the corresponding operation request.
Caution
Consult the SAP CC Security Guide about the role and authorization concept of SAP Convergent Charging.
Consult the product documentation of SAP Convergent Charging:
UserModel,
AuthorizationModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="role">
<xs:complexType>
<xs:sequence>
<xs:element name="description" type="DescriptionType" minOccurs="0" maxOccurs="1" />
<xs:element name="authorizationId" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="value" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
| Field Summary | |
|---|---|
static java.lang.String |
TAG_NAME
The value of that constant is the XML tag name of the role: role. |
| Constructor Summary | |
|---|---|
RoleModel()
Initialize a role model. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.util.List<java.lang.String> |
getAuthorizationIds()
Gets the list of authorization identifiers of the role |
java.lang.Class<?> |
getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
Returns the Java class for a specified XML tag and its attributes in a namespace. |
java.lang.String |
getDescription()
Gets the description of the role |
java.lang.String |
getId()
Gets the unique identifier of the role |
java.lang.String |
getTagName()
Gets the XML tag name of the HCI model. |
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object. |
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setDescription(java.lang.String description)
Sets the description of the role |
void |
setId(java.lang.String id)
Sets the ID of the role; this ID is unique in the system. |
| Methods inherited from class com.highdeal.hci.HCIModelAdapter |
|---|
marshal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TAG_NAME
role.
| Constructor Detail |
|---|
public RoleModel()
| Method Detail |
|---|
public java.lang.String getId()
public void setId(java.lang.String id)
id - The identifier of the rolepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The description of the rolepublic java.util.List<java.lang.String> getAuthorizationIds()
public void marshalAttributes(XMLOutputter output)
IXMLMarshallable
marshalAttributes in interface IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallable
marshalChildren in interface IXMLMarshallableoutput - The XML output to marshal the child objects intopublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current element
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be addedpublic java.lang.String getTagName()
ITagNameProvider
getTagName in interface ITagNameProvider
public java.lang.Class<?> getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
XMLMappingJava class for a specified XML tag and its attributes in a namespace.
getClass in interface XMLMappingnsUri - The unique resource identifier of the namespace of the XML tagtag - The local part of the XML tagatts - The attributes of the XML tag
Java class with a default constructor
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||